package com.fufan.mtsaas.modules.newtech.xjsphase.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.fufan.mtsaas.modules.newtech.xjsphase.model.XjsPhase;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
 * 阶段主表 Mapper 接口
 *
 * @author Liby
 * @since 2024-12-16
 */
@Repository
public interface XjsPhaseDao extends BaseMapper<XjsPhase> {

    @Override
    Integer insert(XjsPhase entity);

    @Override
    Integer deleteById(Serializable id);

    Integer update(XjsPhase entity);

    XjsPhase queryById(Serializable id);

    List<XjsPhase> queryAllByLimit(XjsPhase entity);

    List<XjsPhase> queryAll(XjsPhase entity);

    Long count(XjsPhase entity);
}